package com.peas.platform.module.icims.contract.initial.dto;

import java.util.*;
import java.math.*;
import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 初始合同执行-请款
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialCashDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 批次号
    @Comment(value = "批次号")
    private String batch;

    // 请款类型
    // 收款、付款
    // 字典取值:ContractInitialCashType
    @Comment(value = "请款类型", dictType = "ContractInitialCashType")
    @Condition(operator = ConditionOperator.IN)
    private String cashType;

    // 请款经办人
    // 【用户表】
    @Comment(value = "请款经办人")
    private Long cashUserId;

    // 请款经办人部门
    // 【组织架构表】
    @Comment(value = "请款经办人部门")
    private Long cashDepartmentId;

    // 请款金额
    @Comment(value = "请款金额")
    private BigDecimal cashAmount;

    // 请款状态
    // 枚举取值:ContractInitialCashState
    @Comment(value = "请款状态", enumType = "ContractInitialCashState")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
